<%-- 
    Document   : admin
    Created on : Jul 3, 2013, 4:33:58 PM
    Author     : dante.panella
--%>

<%
    if(session.getAttribute("admin") !=null)
    {
        if(!session.getAttribute("admin").equals("dante"))
            response.sendRedirect("ERROR.jsp");
    }
    else
    {
            response.sendRedirect("ERROR.jsp");
    }
%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        BIENVENIDO ADMINISTRADOR!
    </body>
</html>
